package cn.edu.cxcyzx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.cxcyzx.entity.CheckProject;
import cn.edu.cxcyzx.entity.CheckProjectPOJO;

public interface CheckProjectDao {
	
	public void  insert_checkProject(CheckProject checkProject);
	
	public CheckProject getCheckProject(int projectId);
	/**
	 * 查询所有验收项目信息
	 * @return
	 */
	public List<CheckProjectPOJO> getAllPro();
	/**
	 * 查询带验收项目数量
	 * @return
	 */
	public int getNum_checkPro();
	/**
	 * 处理验收申请
	 * @param checkProject
	 */
	public void success_checkPro(CheckProject checkProject);
	
	public void fail_checkPro(@Param("failCheckInfo")String failCheckInfo,@Param("projectId")int projectId);
	
	/**
	 * 验收结果
	 */
	public void update_result(CheckProject checkProject);
	
}
